package com.ss.android.f.b.a.a;

public abstract class c {
    interface a {
        Object a();

        Object a(Object arg1, Object arg2, c arg3);

        boolean a(Object arg1, Object arg2);

        void a(Object arg1);

        boolean b(Object arg1);
    }

    public c d;

    public c() {

    }

    private Object a(Object arg7, Object arg8, a arg9) {
        int v1_1;
        Object v0_1;
        c v0 = this.d;
        Object v2 = arg9.a();
        boolean v3 = arg9.b(arg7);
        boolean v4 = arg9.b(v2);
        Object v1 = (v3) || !v4 ? arg7 : v2;
        if(v0 != null) {
            v0_1 = arg9.a(v1, arg8, v0);
            if(!arg9.a(v0_1, v2)) {
                arg9.a(v0_1);
            }
        }
        else {
            if((v3) || (v4)) {
                v0_1 = v1;
                v1_1 = 0;
            }
            else {
                v1_1 = 1;
                v0_1 = arg8;
            }

            if(v1_1 == 0 || !arg9.b(v0_1)) {
                if(!v3) {
                    return v0_1;
                } else if(!arg9.a(v0_1, v2)) {
                }else {
                    return v0_1;
                }
            }

            arg9.a(v0_1);
        }

        return v0_1;
    }

    protected abstract String a(String arg1);

    protected abstract void a(String arg1, String arg2);

    protected abstract void a(String arg1, String[] arg2);

    public final String[] a(String[] arg2, String[] arg3) {
        return (String[]) this.a(arg2, arg3, new g(this));
    }

    public final String b(String arg2, String arg3) {
        return (String) this.a(arg2, arg3, new d(this));
    }

    protected abstract String[] b(String arg1);

    public final String c(String arg2, String arg3) {
        return (String) this.a(arg2, arg3, new e(this));
    }

    public final String d(String arg2, String arg3) {
        return (String) this.a(arg2, arg3, new f(this));
    }

    public final String e(String arg2, String arg3) {
        return (String) this.a(arg2, arg3, new h(this));
    }

    public final String f(String arg2, String arg3) {
        return (String) this.a(arg2, arg3, new i(this));
    }
}

